package com.wangp.javase.object_oop.employee;

/**
 * <p>
 * 第一行简要描述.
 * </p>
 *
 * @author wangping
 * @since 2024-12-15
 */
public class EmployeeTest {

    public static void main(String[] args) {

        Employee employee1 = new Employee();
        employee1.id=1;
        employee1.name="zz";
        employee1.age=10;
        employee1.salary=1000.1;
        employee1.birth=new MyDate();
        employee1.birth.year=2022;
        employee1.birth.month=2;
        employee1.birth.day=22;


        System.out.println( "id:"+employee1.id+ ",name:"+ employee1.name+  ",age；"+employee1.age+ ",salary;"+ employee1.salary+employee1.birth.year);


    }
}
